package edu.gtcfla.km.appmodules.vo;

import java.io.Serializable;
import java.util.LinkedHashSet;
import java.util.Set;

import org.vsg.biz.BusinessEntityFactory;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import edu.gtcfla.km.UserGroup;

@JsonIgnoreProperties(value = {"entity"})
public class UserGroupMemberFormVO implements Serializable {
	
	private UserGroup entity;
	
	private static BusinessEntityFactory entityFactory = BusinessEntityFactory.getInstance();
	
	
	private Set<String> members = new LinkedHashSet<String>();

	public UserGroupMemberFormVO(UserGroup userGroup) {
		super();
		this.entity = userGroup;
	}
	
	public UserGroupMemberFormVO() {
		entity = entityFactory.create( UserGroup.class );
	}

	public UserGroup getEntity() {
		return entity;
	}

	public void setEntity(UserGroup entity) {
		this.entity = entity;
	}

	public void setId(String newId) {
		entity.setId(newId);
	}

	public String getId() {
		return entity.getId();
	}

	public void setGroupName(String newGroupName) {
		entity.setGroupName(newGroupName);
	}

	public String getGroupName() {
		return entity.getGroupName();
	}

	public Set<String> getMembers() {
		return members;
	}

	public void setMembers(Set<String> members) {
		this.members = members;
	}


	

	
	
}
